package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-28 
 */
@ApiModel (value ="入岗教育安全责任书记录表实体类", description = "EducationLiabilityStatementRecord")
public class EducationLiabilityStatementRecord {
	/**
	 * 入岗教育安全责任书id
	 */
   	@ApiModelProperty(value = "入岗教育安全责任书记录id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 安全责任书id
	 */
   	@ApiModelProperty(value = "安全责任书id", name = "liabilityId")
	private Integer liabilityId;

	/**
	 * 安全责任书名称
	 */
	@ApiModelProperty(value = "安全责任书名称", name = "liabilityName")
	private String liabilityName;

	/**
	 * 教育人负责人id
	 */
	@ApiModelProperty(value = "教育人负责人id", name = "managerialId")
	private Integer managerialId;

	/**
	 * 教育人负责人姓名
	 */
	@ApiModelProperty(value = "教育人负责人姓名", name = "managerialName")
	private String managerialName;

	/**
	 * 工人姓名
	 */
   	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 工人身份证号
	 */
   	@ApiModelProperty(value = "工人身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 甲方签字(图片)
	 */
   	@ApiModelProperty(value = "甲方签字(图片)", name = "firstPartySignature")
	private String firstPartySignature;

	/**
	 * 乙方签字(图片)
	 */
   	@ApiModelProperty(value = "乙方签字(图片)", name = "secondPartySignature")
	private String secondPartySignature;

	/**
	 * 甲方签订时间
	 */
   	@ApiModelProperty(value = "甲方签订时间", name = "firstSigningDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date firstSigningDate;

	/**
	 * 乙方签订时间
	 */
   	@ApiModelProperty(value = "乙方签订时间", name = "secondSigningDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date secondSigningDate;

	/**
	 * 全部内容
	 */
	@ApiModelProperty(value = "全部内容", name = "entireContent")
	private String entireContent;

	/**
	 * 最后修改时间
	 */
   	@ApiModelProperty(value = "最后修改时间", name = "updateDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateDate;

	public EducationLiabilityStatementRecord(){ super(); }

	public EducationLiabilityStatementRecord(Integer id, Integer projectId, Integer liabilityId, String liabilityName, Integer managerialId, String managerialName, String workerName, String workerCard, String firstPartySignature, String secondPartySignature, Date firstSigningDate, Date secondSigningDate, String entireContent, Date updateDate) {
		this.id = id;
		this.projectId = projectId;
		this.liabilityId = liabilityId;
		this.liabilityName = liabilityName;
		this.managerialId = managerialId;
		this.managerialName = managerialName;
		this.workerName = workerName;
		this.workerCard = workerCard;
		this.firstPartySignature = firstPartySignature;
		this.secondPartySignature = secondPartySignature;
		this.firstSigningDate = firstSigningDate;
		this.secondSigningDate = secondSigningDate;
		this.entireContent = entireContent;
		this.updateDate = updateDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getLiabilityId() {
		return liabilityId;
	}

	public void setLiabilityId(Integer liabilityId) {
		this.liabilityId = liabilityId;
	}

	public String getLiabilityName() {
		return liabilityName;
	}

	public void setLiabilityName(String liabilityName) {
		this.liabilityName = liabilityName;
	}

	public Integer getManagerialId() {
		return managerialId;
	}

	public void setManagerialId(Integer managerialId) {
		this.managerialId = managerialId;
	}

	public String getManagerialName() {
		return managerialName;
	}

	public void setManagerialName(String managerialName) {
		this.managerialName = managerialName;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getFirstPartySignature() {
		return firstPartySignature;
	}

	public void setFirstPartySignature(String firstPartySignature) {
		this.firstPartySignature = firstPartySignature;
	}

	public String getSecondPartySignature() {
		return secondPartySignature;
	}

	public void setSecondPartySignature(String secondPartySignature) {
		this.secondPartySignature = secondPartySignature;
	}

	public Date getFirstSigningDate() {
		return firstSigningDate;
	}

	public void setFirstSigningDate(Date firstSigningDate) {
		this.firstSigningDate = firstSigningDate;
	}

	public Date getSecondSigningDate() {
		return secondSigningDate;
	}

	public void setSecondSigningDate(Date secondSigningDate) {
		this.secondSigningDate = secondSigningDate;
	}

	public String getEntireContent() {
		return entireContent;
	}

	public void setEntireContent(String entireContent) {
		this.entireContent = entireContent;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", liabilityId=" + liabilityId +
				", liabilityName='" + liabilityName + '\'' +
				", managerialId=" + managerialId +
				", managerialName='" + managerialName + '\'' +
				", workerName='" + workerName + '\'' +
				", workerCard='" + workerCard + '\'' +
				", firstPartySignature='" + firstPartySignature + '\'' +
				", secondPartySignature='" + secondPartySignature + '\'' +
				", firstSigningDate=" + firstSigningDate +
				", secondSigningDate=" + secondSigningDate +
				", entireContent='" + entireContent + '\'' +
				", updateDate=" + updateDate +
				'}';
	}
}
